package com.service;

import com.Dao.EmployeeDao;
import com.entity.Employee;



public class LoginService {
	
	private EmployeeDao dao = new EmployeeDao();

	public Employee login(String username, String password) {
		return dao.findByNameAndPassword(username, password);
	}

}
